package com.mobi.Survey.lib.video;

import android.content.Context;
import android.media.MediaPlayer;
import android.view.View;

/**
 * 
 * <p>
 * <b>Author:</b> Yahya Arshad
 * <p>
 * <b>Company:</b> Mobi Media Soft
 * <p>
 * <b> Website:</b> www.mobimediasoft.com
 * <p>
 * GenericPlayer.java Create a Media player for generic videos like video in sd
 * card or video in remote location other than Youtube
 * 
 */
public class GenericPlayer extends VideoPlayer {

	public GenericPlayer(Context context) {
		super(context);

	}

	@Override
	public void onPrepared(MediaPlayer arg0) {
		if (ivc != null)
			ivc.onPrepare();

		mProgressBar.setVisibility(View.GONE);
		mProgressMessage.setText("");

	}
}
